500 |
How can I add an extra button to a spin editor
Grid1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")); Grid1->DefaultItemHeight = 20; Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Date")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::SpinType; var_Editor->AddButton(TVariant("B1"),TVariant(2),TVariant(1),TVariant("This is a bit of text that's shown when the cursor hovers the button B1"),TNoParam(),TNoParam()); var_Editor->ButtonWidth = 20; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(0)); var_Items->AddItem(TVariant(1)); |
499 |
How can I remove or delete the buttons in the editor
Grid1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")); Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Edit")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::EditType; var_Editor->AddButton(TVariant("B1"),TVariant(1),TVariant(0),TVariant("This is a bit of text that's shown when the cursor hovers the button B1"),TNoParam(),TNoParam()); var_Editor->AddButton(TVariant("B3"),TVariant(2),TVariant(1),TVariant("This is a bit of text that's shown when the cursor hovers the button B3"),TNoParam(),TNoParam()); var_Editor->AddButton(TVariant("B4"),TVariant(1),TVariant(1),TVariant("This is a bit of text that's shown when the cursor hovers the button B4"),TNoParam(),TNoParam()); var_Editor->RemoveButton(TVariant("B1")); var_Editor->ButtonWidth = 20; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant("Text 1")); var_Items->AddItem(TVariant("Text 2")); |
498 |
How can I hide the buttons in the editor
Grid1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")); Grid1->DefaultItemHeight = 24; Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Edit")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::EditType; var_Editor->AddButton(TVariant("B1"),TVariant(1),TVariant(0),TVariant("This is a bit of text that's shown when the cursor hovers the button B1"),TNoParam(),TNoParam()); var_Editor->AddButton(TVariant("B3"),TVariant(2),TVariant(1),TVariant("This is a bit of text that's shown when the cursor hovers the button B3"),TNoParam(),TNoParam()); var_Editor->AddButton(TVariant("B4"),TVariant(1),TVariant(1),TVariant("This is a bit of text that's shown when the cursor hovers the button B4"),TNoParam(),TNoParam()); var_Editor->ButtonWidth = 0; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant("Text 1")); var_Items->AddItem(TVariant("Text 2")); |
497 |
How can I change the width of the buttons in the editor
Grid1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")); Grid1->DefaultItemHeight = 24; Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Edit")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::EditType; var_Editor->AddButton(TVariant("B1"),TVariant(1),TVariant(0),TVariant("This is a bit of text that's shown when the cursor hovers the button B1"),TNoParam(),TNoParam()); var_Editor->AddButton(TVariant("B3"),TVariant(2),TVariant(1),TVariant("This is a bit of text that's shown when the cursor hovers the button B3"),TNoParam(),TNoParam()); var_Editor->AddButton(TVariant("B4"),TVariant(1),TVariant(1),TVariant("This is a bit of text that's shown when the cursor hovers the button B4"),TNoParam(),TNoParam()); var_Editor->ButtonWidth = 24; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant("Text 1")); var_Items->AddItem(TVariant("Text 2")); |
496 |
How can I add extra buttons to an editor
Grid1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")); Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Edit")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::EditType; var_Editor->AddButton(TVariant("B1"),TVariant(1),TVariant(0),TVariant("This is a bit of text that's shown when the cursor hovers the button B1"),TNoParam(),TNoParam()); var_Editor->AddButton(TVariant("B2"),TVariant(2),TVariant(0),TVariant("This is a bit of text that's shown when the cursor hovers the button B2"),TNoParam(),TNoParam()); var_Editor->AddButton(TVariant("B3"),TVariant(3),TVariant(1),TVariant("This is a bit of text that's shown when the cursor hovers the button B3"),TNoParam(),TNoParam()); var_Editor->AddButton(TVariant("B4"),TVariant(1),TVariant(1),TVariant("This is a bit of text that's shown when the cursor hovers the button B4"),TNoParam(),TNoParam()); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant("Text 1")); var_Items->AddItem(TVariant("Text 2")); |
495 |
is there any function to specify the number of rows / items being visible in a drop down list editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"DropDown")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DropDownListType; var_Editor->AddItem(1,L"First item",TNoParam()); var_Editor->AddItem(2,L"Second item",TNoParam()); var_Editor->AddItem(3,L"Third item",TNoParam()); var_Editor->DropDownRows = 1; var_Editor->PopupAppearance = Exgridlib_tlb::InplaceAppearanceEnum::FlatApp; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(1)); var_Items->AddItem(TVariant(2)); |
494 |
How can I change the border for a drop down editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Date")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DateType; var_Editor->PopupAppearance = Exgridlib_tlb::InplaceAppearanceEnum::FlatApp; Grid1->Items->AddItem(TVariant("Today")); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->get_CellEditor(TVariant(var_Items->AddItem(TVariant("Today"))),TVariant(0))->EditType = Exgridlib_tlb::EditTypeEnum::DateType; |
493 |
How can I remove a predefined item in a drop down editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Color")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::ColorListType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exColorListShowName,TVariant(true)); var_Editor->RemoveItem(255); Grid1->Items->AddItem(TVariant(255)); Grid1->Items->AddItem(TVariant(65280)); |
492 |
How can I remove or clear all predefined items in a drop down editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Color")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::ColorListType; var_Editor->ClearItems(); var_Editor->AddItem(255,L"Red Color",TNoParam()); Grid1->Items->AddItem(TVariant(255)); |
491 |
How can I center the predefined items in a drop down editor editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"DropDown")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DropDownListType; var_Editor->AddItem(1,L"First item",TNoParam()); var_Editor->AddItem(2,L"Second item",TNoParam()); var_Editor->AddItem(3,L"Third item",TNoParam()); var_Editor->DropDownAlignment = Exgridlib_tlb::AlignmentEnum::CenterAlignment; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(1)); var_Items->AddItem(TVariant(2)); |
490 |
How can I right align the items in a drop down editor editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"DropDown")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DropDownListType; var_Editor->AddItem(1,L"First item",TNoParam()); var_Editor->AddItem(2,L"Second item",TNoParam()); var_Editor->AddItem(3,L"Third item",TNoParam()); var_Editor->DropDownAlignment = Exgridlib_tlb::AlignmentEnum::RightAlignment; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(1)); var_Items->AddItem(TVariant(2)); |
489 |
How can I specify the width of the drop down editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"DropDown")->Editor; var_Editor->DropDownAutoWidth = Exgridlib_tlb::DropDownWidthType::exDropDownEditorWidth; var_Editor->DropDownMinWidth = 385; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::ColorListType; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(255)); var_Items->AddItem(TVariant(65280)); |
488 |
How can hide the drop down button for an editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"DropDown")->Editor; var_Editor->DropDownVisible = false; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::ColorListType; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(255)); var_Items->AddItem(TVariant(65280)); |
487 |
How can assign a tooltip to a drop down list editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"DropDown")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DropDownListType; var_Editor->AddItem(1,L"First item",TNoParam()); var_Editor->AddItem(2,L"Second item",TNoParam()); var_Editor->AddItem(3,L"Third item",TNoParam()); var_Editor->set_ItemToolTip(TVariant(1),L"This is a tooltip that shows when user hovers the <b>first</b> item"); var_Editor->set_ItemToolTip(TVariant(2),L"This is a tooltip that shows when user hovers the <b>second</b> item"); var_Editor->set_ItemToolTip(TVariant(3),L"This is a tooltip that shows when user hovers the <b>third</b> item"); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(1)); var_Items->AddItem(TVariant(2)); |
486 |
How can I lock, disable make read only an editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"DropDown")->Editor; var_Editor->Locked = true; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DropDownListType; var_Editor->AddItem(1,L"First item",TNoParam()); var_Editor->AddItem(2,L"Second item",TNoParam()); var_Editor->AddItem(3,L"Third item",TNoParam()); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(1)); var_Items->AddItem(TVariant(2)); |
485 |
How can I sort the items in a drop down list editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"DropDown")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DropDownListType; var_Editor->AddItem(1,L"Second item",TNoParam()); var_Editor->AddItem(2,L"First item",TNoParam()); var_Editor->AddItem(3,L"Third item",TNoParam()); var_Editor->SortItems(TVariant(true),TNoParam()); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(1)); var_Items->AddItem(TVariant(2)); |
484 |
How can I expand an item in the tree or a hierarchy of a drop down editor
Grid1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")); Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"DropDown"); var_Column->set_Def(Exgridlib_tlb::DefColumnEnum::exCellValueFormat,TVariant(1)); Exgridlib_tlb::IEditorPtr var_Editor = var_Column->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DropDownListType; var_Editor->DropDownAutoWidth = Exgridlib_tlb::DropDownWidthType::exDropDownEditorWidth; var_Editor->AddItem(1,L"<b>CObject</b> class",TVariant(1)); var_Editor->InsertItem(2,L"<b>CCmdTarget</b> class",TVariant(2),TVariant(1)); var_Editor->InsertItem(3,L"<b>CWnd</b> class",TVariant(3),TVariant(2)); var_Editor->InsertItem(6,L"<bgcolor=10A0E0><fgcolor=F0F0F0>S y n c</fgcolor>",TVariant(1),TVariant(1)); var_Editor->AddItem(4,L"Exceptions",TVariant(1)); var_Editor->InsertItem(7,L"<b>System</b> Exceptions",TVariant(2),TVariant(4)); var_Editor->AddItem(5,L"File Services",TVariant(2)); var_Editor->set_ExpandItem(TVariant(1),true); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(1)); var_Items->AddItem(TVariant(2)); |
483 |
How can I display a tree or a hierarchy in a drop down editor
Grid1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")); Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"DropDown"); var_Column->set_Def(Exgridlib_tlb::DefColumnEnum::exCellValueFormat,TVariant(1)); Exgridlib_tlb::IEditorPtr var_Editor = var_Column->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DropDownListType; var_Editor->DropDownAutoWidth = Exgridlib_tlb::DropDownWidthType::exDropDownEditorWidth; var_Editor->AddItem(1,L"<b>CObject</b> class",TVariant(1)); var_Editor->InsertItem(2,L"<b>CCmdTarget</b> class",TVariant(2),TVariant(1)); var_Editor->InsertItem(3,L"<b>CWnd</b> class",TVariant(3),TVariant(2)); var_Editor->InsertItem(6,L"<bgcolor=10A0E0><fgcolor=F0F0F0>S y n c</fgcolor>",TVariant(1),TVariant(1)); var_Editor->AddItem(4,L"Exceptions",TVariant(1)); var_Editor->InsertItem(7,L"<b>System</b> Exceptions",TVariant(2),TVariant(4)); var_Editor->AddItem(5,L"File Services",TVariant(2)); var_Editor->ExpandAll(); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(1)); var_Items->AddItem(TVariant(2)); |
482 |
How can I look for items that includes the typed characters in a drop down list editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"DropDown")->Editor; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exAutoSearch,TVariant(1)); var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DropDownListType; var_Editor->AddItem(1,L"First item",TNoParam()); var_Editor->AddItem(2,L"Second item",TNoParam()); var_Editor->AddItem(3,L"Third item",TNoParam()); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(1)); var_Items->AddItem(TVariant(2)); |
481 |
How can I keep the selection background color while editor is visible
Grid1->SelBackColor = RGB(255,0,0); Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"DropDown")->Editor; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exKeepSelBackColor,TVariant(true)); var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DropDownListType; var_Editor->AddItem(1,L"First item",TNoParam()); var_Editor->AddItem(2,L"Second item",TNoParam()); var_Editor->AddItem(3,L"Third item",TNoParam()); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(1)); var_Items->AddItem(TVariant(2)); |
480 |
How can I select from a drop down list the editor, when the user starts typing in the editor, while it is closed and focused
Grid1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")); Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"DropDown")->Editor; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exAutoDropDownList,TVariant(1)); var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DropDownListType; var_Editor->AddItem(1,L"First item",TVariant(1)); var_Editor->AddItem(2,L"Second item",TVariant(3)); var_Editor->AddItem(3,L"Third item",TVariant(2)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(1)); var_Items->AddItem(TVariant(2)); |
479 |
How can I automatically drop down the list editor, when the user starts typing in the editor
Grid1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")); Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"DropDown")->Editor; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exAutoDropDownList,TVariant(-1)); var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DropDownListType; var_Editor->AddItem(1,L"First item",TVariant(1)); var_Editor->AddItem(2,L"Second item",TVariant(3)); var_Editor->AddItem(3,L"Third item",TVariant(2)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(1)); var_Items->AddItem(TVariant(2)); |
478 |
How can I add a Font editor
Grid1->Columns->Add(L"Font")->Editor->EditType = Exgridlib_tlb::EditTypeEnum::FontType; Grid1->Items->AddItem(TVariant("Tahoma")); |
477 |
How can I change the visual appearance for the buttons in the calculator editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Slider")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::CalculatorType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exCalcPictureUp,Grid1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)")); var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exCalcPictureDown,Grid1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\auction.gif`)")); Grid1->Items->AddItem(TVariant(10)); |
476 |
How can I customize the caption of buttons in the calculator editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Slider")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::CalculatorType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exCalcButtons,TVariant("0;1;2;3;4;5;6;7;8;9;<b>+</b>;<fgcolor=FF0000>=</fgcolor>")); Grid1->Items->AddItem(TVariant(10)); |
475 |
How can I customize the caption of buttons in the calculator editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Slider")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::CalculatorType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exCalcButtons,TVariant("0;1;2;3;4;5;6;7;8;9")); Grid1->Items->AddItem(TVariant(10)); |
474 |
How can I specify the width and height of the buttons in the calculator editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Slider")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::CalculatorType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exCalcButtonWidth,TVariant(32)); var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exCalcButtonHeight,TVariant(32)); Grid1->Items->AddItem(TVariant(10)); |
473 |
How can I change the "Cannot divide by zero" message that shows in the calculator editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Slider")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::CalculatorType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exCalcCannotDivideByZero,TVariant("Divizion by zero")); Grid1->Items->AddItem(TVariant(10)); |
472 |
How can I enable or disable executing operations while the calculator editor is focused and closed
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Slider")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::CalculatorType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exCalcExecuteKeys,TVariant(false)); Grid1->Items->AddItem(TVariant(10)); |
471 |
How can I add a calculator editor
Grid1->Columns->Add(L"Slider")->Editor->EditType = Exgridlib_tlb::EditTypeEnum::CalculatorType; Grid1->Items->AddItem(TVariant(10)); |
470 |
How can I edit a number between a range or interval
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Slider")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::SliderType; var_Editor->Numeric = Exgridlib_tlb::NumericEnum::exInteger; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exSpinStep,TVariant(0)); var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exSliderWidth,TVariant(0)); var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exSliderMin,TVariant(5)); var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exSliderMax,TVariant(15)); Grid1->Items->AddItem(TVariant(10)); |
469 |
How can I hide or show the spin in the slider or track bar editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Slider")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::SliderType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exSpinStep,TVariant(0)); Grid1->Items->AddItem(TVariant(10)); |
468 |
How can I add a slider or track bar editor, with a fixed size
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Slider")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::SliderType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exSliderWidth,TVariant(64)); Grid1->Items->AddItem(TVariant(10)); |
467 |
How can I add a slider or track bar editor, so it covers half of the cell
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Slider")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::SliderType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exSliderWidth,TVariant(-50)); Grid1->Items->AddItem(TVariant(10)); |
466 |
How can I add a slider or track bar editor, so it covers the full cell
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Slider")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::SliderType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exSliderWidth,TVariant(-100)); Grid1->Items->AddItem(TVariant(10)); |
465 |
How can I add a slider or track bar editor within a range or interval of numbers
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Spin from 5 to 15")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::SliderType; var_Editor->Numeric = Exgridlib_tlb::NumericEnum::exInteger; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exSliderMin,TVariant(5)); var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exSliderMax,TVariant(15)); Grid1->Items->AddItem(TVariant(10)); |
464 |
How can I add a slider or track bar editor within a range or interval of float numbers
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Spin from 5 to 15")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::SliderType; var_Editor->Numeric = Exgridlib_tlb::NumericEnum::exFloat; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exSliderMin,TVariant(0)); var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exSliderMax,TVariant(1)); var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exSpinStep,TVariant("0.01")); var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exSliderStep,TVariant("0.01")); Grid1->Items->AddItem(TVariant("0.3")); |
463 |
How can I add a spin editor within a range or interval of float numbers
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Spin from 5 to 15")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::SliderType; var_Editor->Numeric = Exgridlib_tlb::NumericEnum::exFloat; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exSliderWidth,TVariant(0)); var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exSliderMin,TVariant(0)); var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exSliderMax,TVariant(1)); var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exSpinStep,TVariant("0.01")); Grid1->Items->AddItem(TVariant("0.3")); |
462 |
How can I add a spin editor within a range or interval of numbers
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Spin from 5 to 15")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::SliderType; var_Editor->Numeric = Exgridlib_tlb::NumericEnum::exInteger; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exSliderWidth,TVariant(0)); var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exSliderMin,TVariant(5)); var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exSliderMax,TVariant(15)); Grid1->Items->AddItem(TVariant(10)); |
461 |
How can I add a slider or track bar editor
Grid1->Columns->Add(L"Slider")->Editor->EditType = Exgridlib_tlb::EditTypeEnum::SliderType; Grid1->Items->AddItem(TVariant(10)); |
460 |
I have check box column, but the check-boxes looks disabled. What can I do
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Check")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::CheckValueType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exCheckValue2,TVariant(1)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(false)); var_Items->AddItem(TVariant(true)); var_Items->AddItem(TVariant(false)); |
459 |
How do I add check box column, so the cell value is changed as I click the cells
Grid1->MarkSearchColumn = false; Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"C"); var_Column->Width = 18; var_Column->AllowSizing = false; Exgridlib_tlb::IEditorPtr var_Editor = var_Column->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::CheckValueType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exCheckValue2,TVariant(1)); Grid1->Columns->Add(L"Text"); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->set_CellValue(TVariant(var_Items->AddItem(TVariant(false))),TVariant(1),TVariant("Check 1")); var_Items->set_CellValue(TVariant(var_Items->AddItem(TVariant(true))),TVariant(1),TVariant("Check 2")); var_Items->set_CellValue(TVariant(var_Items->AddItem(TVariant(false))),TVariant(1),TVariant("Check 3")); |
458 |
How do I add check box column, so the cell value is changed as I click the cells
Grid1->Columns->Add(L"Check")->Editor->EditType = Exgridlib_tlb::EditTypeEnum::CheckValueType; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(false)); var_Items->AddItem(TVariant(true)); var_Items->AddItem(TVariant(false)); |
457 |
How do I disable adding new lines using the ENTER key in a memo or a multiple lines edit control
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Edit")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::MemoDropDownType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exMemoDropDownAcceptReturn,TVariant(false)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->set_CellSingleLine(TVariant(var_Items->AddItem(TVariant(String("This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break th") + "e line, and get it displayed on multiple lines."))),TVariant(0),Exgridlib_tlb::CellSingleLineEnum::exCaptionWordWrap); |
456 |
How do I add a vertical scroll bar for a memo or a multiple lines edit control
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Edit")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::MemoDropDownType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exMemoVScrollBar,TVariant(true)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->set_CellSingleLine(TVariant(var_Items->AddItem(TVariant(String("This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break th") + "e line, and get it displayed on multiple lines."))),TVariant(0),Exgridlib_tlb::CellSingleLineEnum::exCaptionWordWrap); |
455 |
How do I add a horizontal scroll bar for a memo or a multiple lines edit control
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Edit")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::MemoDropDownType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exMemoHScrollBar,TVariant(true)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->set_CellSingleLine(TVariant(var_Items->AddItem(TVariant(String("This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break th") + "e line, and get it displayed on multiple lines."))),TVariant(0),Exgridlib_tlb::CellSingleLineEnum::exCaptionWordWrap); |
454 |
How can I specify the width or the height for a drop down memo or a multiple lines edit control
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Edit")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::MemoDropDownType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exMemoDropDownWidth,TVariant(256)); var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exMemoDropDownHeight,TVariant(64)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->set_CellSingleLine(TVariant(var_Items->AddItem(TVariant("This is a long text that should break the line, and get it displayed on multiple lines."))),TVariant(0),Exgridlib_tlb::CellSingleLineEnum::exCaptionWordWrap); |
453 |
How do I add a drop down memo or a multiple lines edit control
Grid1->Columns->Add(L"Edit")->Editor->EditType = Exgridlib_tlb::EditTypeEnum::MemoDropDownType; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->set_CellSingleLine(TVariant(var_Items->AddItem(TVariant("This is a long text that should break the line, and get it displayed on multiple lines."))),TVariant(0),Exgridlib_tlb::CellSingleLineEnum::exCaptionWordWrap); |
452 |
How do I add a color list editor with my own or custom colors
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Color")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::ColorListType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exColorListShowName,TVariant(true)); var_Editor->ClearItems(); var_Editor->AddItem(255,L"Red Color",TNoParam()); var_Editor->AddItem(16711680,L"Blue Color",TNoParam()); var_Editor->AddItem(65280,L"Green Color",TNoParam()); Grid1->Items->AddItem(TVariant(255)); |
451 |
How do I add a color list editor with my own or custom colors
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Color")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::ColorListType; var_Editor->ClearItems(); var_Editor->AddItem(255,L"Red Color",TNoParam()); var_Editor->AddItem(16711680,L"Blue Color",TNoParam()); var_Editor->AddItem(65280,L"Green Color",TNoParam()); Grid1->Items->AddItem(TVariant(255)); |
450 |
How can I show the color's name in a color list editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Color")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::ColorListType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exColorListShowName,TVariant(true)); Grid1->Items->AddItem(TVariant(255)); |
449 |
How do I add a color list editor
Grid1->Columns->Add(L"Color")->Editor->EditType = Exgridlib_tlb::EditTypeEnum::ColorListType; Grid1->Items->AddItem(TVariant(255)); |
448 |
How can I access my own custom or ActiveX editor
Grid1->DrawGridLines = Exgridlib_tlb::GridLinesEnum::exAllLines; Grid1->DefaultItemHeight = 128; Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"DropDown")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::UserEditorType; var_Editor->UserEditor(L"MSCAL.Calendar",L""); /* Select the Component\Import Component...\Import a Type Library, to import the following Type Library: Microsoft Calendar Control 2007 TypeLib: MSCAL.OCX to define the namespace: Msacal_tlb */ //#include "MSACAL_TLB.h" Msacal_tlb::ICalendarPtr var_Calendar = (IDispatch*)var_Editor->UserEditorObject; var_Calendar->BackColor = RGB(255,255,255); var_Calendar->GridCellEffect = 0; var_Calendar->ShowTitle = false; var_Calendar->ShowDateSelectors = false; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant("MSCal.Calendar")); var_Items->AddItem(TVariant("MSCal.Calendar")); |
447 |
How can I add my own custom or ActiveX editor
Grid1->DrawGridLines = Exgridlib_tlb::GridLinesEnum::exAllLines; Grid1->DefaultItemHeight = 128; Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"DropDown")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::UserEditorType; var_Editor->UserEditor(L"MSCAL.Calendar",L""); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant("MSCal.Calendar")); var_Items->AddItem(TVariant("MSCal.Calendar")); |
446 |
How can I add a hyperlink editor
Grid1->Columns->Add(L"Shell.Execute")->Editor->EditType = Exgridlib_tlb::EditTypeEnum::LinkEditType; Grid1->Items->AddItem(TVariant("http://www.exontrol.com")); Grid1->Items->AddItem(TVariant("c:\\")); |
445 |
How can I add a drop down editor, that allows only predefined values, but still being able to edit and select
Grid1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")); Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"DropDown")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::PickEditType; var_Editor->AddItem(1,L"The first item",TVariant(1)); var_Editor->AddItem(2,L"The second item",TVariant(3)); var_Editor->AddItem(3,L"The third item",TVariant(2)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant("The first item")); var_Items->AddItem(TVariant("The third item")); |
444 |
How can I show or hide the rectangle arround progress bar editor
Grid1->SelForeColor = RGB(0,0,0); Grid1->SelBackColor = RGB(128,255,255); Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Progress")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::ProgressBarType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exProgressBarMarkTicker,TVariant(false)); Grid1->Items->AddItem(TVariant(33)); |
443 |
How can I hide the caption / percent in the progress bar editor
Grid1->SelForeColor = RGB(0,0,0); Grid1->SelBackColor = RGB(128,255,255); Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Progress")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::ProgressBarType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exProgressBarAlignment,TVariant(-1)); Grid1->Items->AddItem(TVariant(33)); |
442 |
How can I align the caption in the center of the progress bar editor
Grid1->SelForeColor = RGB(0,0,0); Grid1->SelBackColor = RGB(128,255,255); Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Progress")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::ProgressBarType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exProgressBarAlignment,TVariant(1)); Grid1->Items->AddItem(TVariant(33)); |
441 |
How can I align the caption to the right in the progress bar editor
Grid1->SelForeColor = RGB(0,0,0); Grid1->SelBackColor = RGB(128,255,255); Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Progress")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::ProgressBarType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exProgressBarAlignment,TVariant(2)); Grid1->Items->AddItem(TVariant(33)); |
440 |
How can I change the background color for a progress bar editor
Grid1->SelForeColor = RGB(0,0,0); Grid1->SelBackColor = RGB(128,255,255); Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Progress")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::ProgressBarType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exProgressBarBackColor,TVariant(255)); Grid1->Items->AddItem(TVariant(33)); |
439 |
How can I add a progress bar editor
Grid1->SelForeColor = RGB(0,0,0); Grid1->SelBackColor = RGB(128,255,255); Grid1->Columns->Add(L"Progress")->Editor->EditType = Exgridlib_tlb::EditTypeEnum::ProgressBarType; Grid1->Items->AddItem(TVariant(33)); |
438 |
How can I add a button editor
Grid1->Columns->Add(L"Button")->Editor->EditType = Exgridlib_tlb::EditTypeEnum::ButtonType; Grid1->Items->AddItem(TVariant("Just a text")); |
437 |
How can I show or hide the type of the OLE Object for Photo or a Picture editor
Grid1->ColumnAutoResize = false; Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Photo"); var_Column->Width = 74; Exgridlib_tlb::IEditorPtr var_Editor = var_Column->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::PictureType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exShowPictureType,TVariant(false)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; long h = var_Items->AddItem(TNoParam()); var_Items->set_CellValue(TVariant(h),TVariant(0),Grid1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\sample.bmp`)")); var_Items->set_ItemHeight(h,64); |
436 |
How can I add a Photo or a Picture editor
Grid1->Columns->Add(L"Photo")->Editor->EditType = Exgridlib_tlb::EditTypeEnum::PictureType; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; long h = var_Items->AddItem(TNoParam()); var_Items->set_CellValue(TVariant(h),TVariant(0),Grid1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\sample.bmp`)")); var_Items->set_ItemHeight(h,64); |
435 |
How can I hide or show the "System" page in the color editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Color")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::ColorType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exColorShowSystem,TVariant(false)); Grid1->Items->AddItem(TVariant(255)); |
434 |
How can I hide or show the "Palette" page in the color editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Color")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::ColorType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exColorShowPalette,TVariant(false)); Grid1->Items->AddItem(TVariant(255)); |
433 |
How do I add a color editor
Grid1->Columns->Add(L"Color")->Editor->EditType = Exgridlib_tlb::EditTypeEnum::ColorType; Grid1->Items->AddItem(TVariant(255)); |
432 |
How do I change the masking character
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Mask")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::MaskType; var_Editor->Mask = L"###"; var_Editor->MaskChar = 48; Grid1->Items->AddItem(TVariant("")); |
431 |
How do I mask an IP
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"IP")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::MaskType; var_Editor->Mask = L"{0,255}\\.{0,255}\\.{0,255}\\.{0,255}"; Grid1->Items->AddItem(TVariant("1.2.3.4")); |
430 |
How do I add a mask editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Mask")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::MaskType; var_Editor->Mask = L"{0,255}\\.{0,255}\\.{0,255}\\.{0,255}"; Grid1->Items->AddItem(TVariant("1.2.3.4")); |
429 |
How to show or hide the week numbers header in a drop down date picker calendar editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Date")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DateType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exDateWeeksHeader,TVariant(true)); Grid1->Items->AddItem(TVariant("Today")); |
428 |
How do I show or hide the bottom scroll bar in the drop down date picker calendar editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Date")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DateType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exDateShowScroll,TVariant(false)); Grid1->Items->AddItem(TVariant("Today")); |
427 |
How do highlight the "Today" date is the drop down date picker calendar editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Date")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DateType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exDateMarkToday,TVariant(true)); Grid1->Items->AddItem(TVariant("Today")); |
426 |
How do I show or hide the "Today" button is the drop down date picker calendar editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Date")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DateType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exDateShowTodayButton,TVariant(false)); Grid1->Items->AddItem(TVariant("Today")); |
425 |
How to specify the first day of the week in the drop down date picker calendar editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Date")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DateType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exDateFirstWeekDay,TVariant(1)); Grid1->Items->AddItem(TVariant("Today")); |
424 |
How to specifies the shortcut for the weekdays to be displayed in the drop down date picker calendar editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Date")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DateType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exDateWeekDays,TVariant("Du Lu Ma Mi Jo Vi Si")); Grid1->Items->AddItem(TVariant("Today")); |
423 |
How can I change the name of the months in the drop down date picker calendar editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Date")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DateType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exDateMonths,TVariant("Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre")); Grid1->Items->AddItem(TVariant("Today")); |
422 |
Can I change the "Today" caption being displayed in the drop down date picker calendar editor
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Date")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DateType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exDateTodayCaption,TVariant("Azi")); Grid1->Items->AddItem(TVariant("Today")); |
421 |
How can allow empty date to drop down date picker control or a calendar control
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Date")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DateType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exDateAllowNullDate,TVariant(true)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant("Today")); var_Items->AddItem(TVariant("")); var_Items->AddItem(TVariant("Today")); |
420 |
How can I a drop down date picker control or a calendar control
Grid1->Columns->Add(L"Date")->Editor->EditType = Exgridlib_tlb::EditTypeEnum::DateType; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant("Today")); |
419 |
How can I have an OR combination of my bit values, something like a check-box list editor
Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"CkeckList"); var_Column->set_Def(Exgridlib_tlb::DefColumnEnum::exCellValueFormat,TVariant(1)); Exgridlib_tlb::IEditorPtr var_Editor = var_Column->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::CheckListType; var_Editor->AddItem(1,L"Bit <b>1</b>",TNoParam()); var_Editor->AddItem(2,L"Bit <b>2</b>",TNoParam()); var_Editor->AddItem(4,L"Bit <b>3</b>",TNoParam()); var_Editor->AddItem(8,L"Bit <b>4</b>",TNoParam()); var_Editor->AddItem(16,L"Bit <b>5</b>",TNoParam()); var_Editor->AddItem(32,L"Bit <b>6</b>",TNoParam()); var_Editor->AddItem(64,L"Bit <b>7</b>",TNoParam()); var_Editor->AddItem(128,L"Bit <b>8</b>",TNoParam()); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(112)); var_Items->AddItem(TVariant(2)); |
418 |
How do I stop resizing the memo or a multiple lines edit control, while the user types
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Edit")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::MemoType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exMemoAutoSize,TVariant(false)); var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exMemoHScrollBar,TVariant(true)); var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exMemoVScrollBar,TVariant(true)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->set_CellSingleLine(TVariant(var_Items->AddItem(TVariant(String("This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break th") + "e line, and get it displayed on multiple lines."))),TVariant(0),Exgridlib_tlb::CellSingleLineEnum::exCaptionWordWrap); |
417 |
How do I add a horizontal scroll bar for a memo or a multiple lines edit control
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Edit")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::MemoType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exMemoHScrollBar,TVariant(true)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->set_CellSingleLine(TVariant(var_Items->AddItem(TVariant(String("This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break th") + "e line, and get it displayed on multiple lines."))),TVariant(0),Exgridlib_tlb::CellSingleLineEnum::exCaptionWordWrap); |
416 |
How do I add a vertical scroll bar for a memo or a multiple lines edit control
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Edit")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::MemoType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exMemoVScrollBar,TVariant(true)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->set_CellSingleLine(TVariant(var_Items->AddItem(TVariant(String("This is a long text that should break the line, and get it displayed on multiple lines.This is a long text that should break th") + "e line, and get it displayed on multiple lines."))),TVariant(0),Exgridlib_tlb::CellSingleLineEnum::exCaptionWordWrap); |
415 |
How do I add a memo or a multiple lines edit control
Grid1->Columns->Add(L"Edit")->Editor->EditType = Exgridlib_tlb::EditTypeEnum::MemoType; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->set_CellSingleLine(TVariant(var_Items->AddItem(TVariant("This is a long text that should break the line, and get it displayed on multiple lines."))),TVariant(0),Exgridlib_tlb::CellSingleLineEnum::exCaptionWordWrap); |
414 |
How to specify the proposed change when the user clicks a spin control.
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Edit")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::SpinType; var_Editor->Numeric = Exgridlib_tlb::NumericEnum::exInteger; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exSpinStep,TVariant(10)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(0)); var_Items->AddItem(TVariant(10)); var_Items->AddItem(TVariant(20)); |
413 |
How do I add a spin editor that allows only integer values
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Edit")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::SpinType; var_Editor->Numeric = Exgridlib_tlb::NumericEnum::exInteger; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(0)); var_Items->AddItem(TVariant(1)); var_Items->AddItem(TVariant(2)); |
412 |
How do I add a spin editor
Grid1->Columns->Add(L"Edit")->Editor->EditType = Exgridlib_tlb::EditTypeEnum::SpinType; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(0)); var_Items->AddItem(TVariant(1)); var_Items->AddItem(TVariant(2)); |
411 |
How do I specify in a drop down list editor, that I do not want to have predefined icon
Grid1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")); Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"DropDown")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DropDownListType; var_Editor->AddItem(1,L"The first item",TVariant(1)); var_Editor->AddItem(2,L"The second item",TVariant(3)); var_Editor->AddItem(3,L"The third item",TVariant(2)); var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exDropDownImage,TVariant(false)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(1)); var_Items->AddItem(TVariant(2)); |
410 |
How do I add a drop down editor, that allows only predefined values
Grid1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")); Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"DropDown")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::DropDownListType; var_Editor->AddItem(1,L"The first item",TVariant(1)); var_Editor->AddItem(2,L"The second item",TVariant(3)); var_Editor->AddItem(3,L"The third item",TVariant(2)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(1)); var_Items->AddItem(TVariant(2)); |
409 |
How to allow the editor to work on insert or overtype mode
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Edit")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::EditType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exEditAllowOverType,TVariant(true)); var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exEditOverType,TVariant(true)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant("000")); var_Items->AddItem(TVariant("111")); var_Items->AddItem(TVariant("222")); |
408 |
How to set foreground color for a locked, or read only edit control
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Edit")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::EditType; var_Editor->Locked = true; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exEditLockedForeColor,TVariant(8421504)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant("000")); var_Items->AddItem(TVariant("111")); var_Items->AddItem(TVariant("222")); |
407 |
How to set background color for a locked, or read only edit control
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Edit")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::EditType; var_Editor->Locked = true; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exEditLockedBackColor,TVariant(8421504)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant("000")); var_Items->AddItem(TVariant("111")); var_Items->AddItem(TVariant("222")); |
406 |
How to set the number of characters selected, when an EditType editor is opened
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Edit")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::EditType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exEditSelLength,TVariant(1)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant("000")); var_Items->AddItem(TVariant("111")); var_Items->AddItem(TVariant("222")); |
405 |
How to set the starting point of text selected, when an EditType editor is opened
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Edit")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::EditType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exEditSelStart,TVariant(1)); var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exEditSelLength,TVariant(1)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant("000")); var_Items->AddItem(TVariant("111")); var_Items->AddItem(TVariant("222")); |
404 |
How to specifiy the symbol that indicates the decimal values while editing a floating point number
Grid1->BeginUpdate(); Exgridlib_tlb::IColumnPtr var_Column = Grid1->Columns->Add(L"Float"); var_Column->FormatColumn = L"len(value) ? (round(value) = value ? value : value format `|,|0`) : ``"; Exgridlib_tlb::IEditorPtr var_Editor = var_Column->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::EditType; var_Editor->Numeric = Exgridlib_tlb::NumericEnum::exFloatInteger; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exEditDecimalSymbol,TVariant(44)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(0.12)); var_Items->AddItem(TVariant(1)); var_Items->AddItem(TVariant(2.45)); Grid1->EndUpdate(); |
403 |
How can I edit a float number
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Edit")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::EditType; var_Editor->Numeric = Exgridlib_tlb::NumericEnum::exFloat; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(0)); var_Items->AddItem(TVariant(1)); var_Items->AddItem(TVariant(2)); |
402 |
How can I edit a number
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Edit")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::EditType; var_Editor->Numeric = Exgridlib_tlb::NumericEnum::exInteger; Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(0)); var_Items->AddItem(TVariant(1)); var_Items->AddItem(TVariant(2)); |
401 |
How do I limit the length of the text that the user may enter into an edit control
Exgridlib_tlb::IEditorPtr var_Editor = Grid1->Columns->Add(L"Edit")->Editor; var_Editor->EditType = Exgridlib_tlb::EditTypeEnum::EditType; var_Editor->set_Option(Exgridlib_tlb::EditorOptionEnum::exEditLimitText,TVariant(1)); Exgridlib_tlb::IItemsPtr var_Items = Grid1->Items; var_Items->AddItem(TVariant(0)); var_Items->AddItem(TVariant(1)); var_Items->AddItem(TVariant(2)); |